package com.os.mapper;

import com.os.po.Role;
import org.apache.ibatis.session.RowBounds;

import java.util.List;

/**
 * @Author Matt
 * @Date 2022-06-23
 * @Desc:
 * @Version V1.0
 */
public interface RoleMapper {

    public Role getRole(int id);
    public Role findRole(String roleName);
    public int deleteRole(int id);
    public int insertRole(Role role);
    public List<Role> findRoleByName(String roleName, RowBounds rowBounds);

}
